package exam3;

public class Block {
    private int blockNum;
    private int length;

    public Block(int blockNum, int length) {
        this.blockNum = blockNum;
        this.length = length;
    }

    public int getBlockNum() {
        return blockNum;
    }

    public void setBlockNum(int blockNum) {
        this.blockNum = blockNum;
    }

    public int getLength() {
        return length;
    }

    public void setLength(int length) {
        this.length = length;
    }
}
